﻿namespace MiniFox.Security
{
    /// <summary>
    /// 
    /// </summary>
    public interface IHashCryption
    {
        /// <summary>
        /// 
        /// </summary>
        /// <param name="source"></param>
        /// <returns></returns>
        byte[] Encrypt(byte[] source);
        /// <summary>
        /// 加密
        /// </summary>
        /// <param name="source"></param>
        /// <returns></returns>
        string Encrypt(string source);
        /// <summary>
        /// 
        /// </summary>
        /// <param name="source"></param>
        /// <returns></returns>
        string EncryptToHexString(string source);
    }
}